<!DOCTYPE html>
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page import="cn.hutool.setting.Setting" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%
    Setting setting = new Setting("application.properties");
    String devOrRun = setting.get("projectEnv");
    String goToOaURL = devOrRun.indexOf("dev") != -1 ? "https://oatest.baowugroup.cn" : "https://oa.baowugroup.cn";
%>

<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<c:set var="goToOaURL" value="<%=goToOaURL%>"/>

<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title></title>
</head>
<body>
</body>

<script type="text/javascript">

    // 跳转OA登录页面
    window.location.href = "${goToOaURL}";

</script>

</html>